def reverse(count1):
    count = len(str(count1))
    str1 = str(count1)
    for i in range(count):
        if int == type(count1):
            print(str1[::-1])
            break
        else:
            print("你输入的不是整数")
            break


reverse(34)
